<?php /* Smarty version 2.6.18, created on 2011-05-16 11:01:59
         compiled from duyet_par_approduct.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => "")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="13%"><?php echo $this->_tpl_vars['lbl_PRDCODE']; ?>
</td>
     <td colspan="2" style="color:#FF0000"><input name="PRDCODE" id="PRDCODE" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" type="text" style="background:<?php echo $this->_tpl_vars['colorPRDCODE']; ?>
" value="<?php echo $this->_tpl_vars['PRDCODE']; ?>
" size="15" maxlength="10" <?php if ($this->_tpl_vars['activefield1'] == 'disabled'): ?> readonly="readonly"<?php endif; ?> />
      *      
      <input id="replacement_find" type="submit" name="find" value="    "  height="15"/></td>
     <td width="46%" style="color:#FF0000">&nbsp;</td>
  </tr>
  
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VNDESC']; ?>
</td>
    <td style="color:#FF0000" colspan="2" nowrap="nowrap">
	<input name="VNDESC" id="VNDESC" type="text" readonly="readOnly" value="<?php echo $this->_tpl_vars['VNDESC']; ?>
" size="50" maxlength="50" /></td>
    <td style="color:#FF0000" nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ENDESC']; ?>
</td>
    <td colspan="2"><input name="ENDESC" id="ENDESC" type="text" readonly="readOnly" value="<?php echo $this->_tpl_vars['ENDESC']; ?>
" size="50" maxlength="50" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_AP']; ?>
</td>
    <td width="25%"><select name="AP" size="1" disabled="disabled" id="AP">
      <option value=""/>
      <?php $_from = $this->_tpl_vars['cbo_loai']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeAP']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
      
	  <?php endforeach; endif; unset($_from); ?>
    
    
    </select>    </td>
    <td width="16%">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_GLACCT']; ?>
</td>
    <td>
    <textarea name="GLACCT" cols="47" rows="2" id="GLACCT" disabled="disabled"><?php echo $this->_tpl_vars['GLACCT']; ?>
</textarea>   </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VERLVL']; ?>
</td>
    <td><select name="VERLVL" size="1" disabled="disabled" id="VERLVL">
      
      <option value=""/>
      <?php $_from = $this->_tpl_vars['cbo_capduyet']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeVERLVL']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
</option>
      
      
	  <?php endforeach; endif; unset($_from); ?>
    
    
    
    </select>    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_INITLEVEL']; ?>
</td>
    <td><select name="INITLEVEL" size="1" disabled="disabled" id="INITLEVEL">
      
      <option value=""/>
      
      <?php $_from = $this->_tpl_vars['cbo_capduyetbandau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      
      
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeINITLEVEL']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
      
      
      
	  <?php endforeach; endif; unset($_from); ?>
    
    
    
    
    </select>    </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VMINAMTB']; ?>
</td>
    <td><input name="VMINAMTB" onblur="formatNumber2(this,this.value,20,0);" type="text" class="textright" id="VMINAMTB" value="<?php echo $this->_tpl_vars['VMINAMTB']; ?>
" size="20" maxlength="20" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VMINAMTA']; ?>
</td>
    <td><input name="VMINAMTA" onblur="formatNumber2(this,this.value,20,0);" type="text" class="textright" id="VMINAMTA" value="<?php echo $this->_tpl_vars['VMINAMTA']; ?>
" size="20" maxlength="20" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VATACC']; ?>
</td>
    <td><input name="VATACC" class="textright" type="text" id="VATACC" value="<?php echo $this->_tpl_vars['VATACC']; ?>
" size="20" maxlength="15" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_AMC']; ?>
</td>
    <td><select name="AMC" size="1" id="AMC" disabled="disabled">
      <option value=""></option>
      
      
      
      <?php $_from = $this->_tpl_vars['cbo_AMC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	 
      
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMC']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
</option>
      
      
      
      <?php endforeach; endif; unset($_from); ?>
    
    
    
    
    </select></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><div align="right">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'PRDCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input value="<?php echo $this->_tpl_vars['lbl_tuchoi']; ?>
" name="tuchoi" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?>/>
    <input value="<?php echo $this->_tpl_vars['lbl_duyet']; ?>
" name="duyet" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?>>
  </div></td>
</tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><input value="<?php echo $this->_tpl_vars['lbl_lichsuthaydoi']; ?>
" name="lichsuthaydoi" type="button" class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_approduct.php?PRDCODE=<?php echo $this->_tpl_vars['PRDCODE']; ?>
', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>